package com.molichuxing.gateway.bff.car.entity.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 * 事故信息实体
 * </p>
 *
 * @author xuelin yi
 * @since 2019-09-04
 */
@Data
public class AccidentBizVo extends ResponseRootDto {

    @ApiModelProperty(value = "事故主键")
    private Integer accidentId;

    @ApiModelProperty(value = "事故编号")
    private String code;

    @ApiModelProperty(value = "车架号")
    private String vin;

    @ApiModelProperty(value = "车牌号")
    private String licencePlate;

    @ApiModelProperty(value = "车型名称")
    private String vehicleName;

    @ApiModelProperty(value = "用户账号")
    private String userName;

    @ApiModelProperty(value = "姓名")
    private String realName;

    @ApiModelProperty(value = "联系方式")
    private String userPhone;

    @ApiModelProperty(value = "身份证号")
    private String idNumber;

    @ApiModelProperty(value = "是否有人伤（0：无人伤，1：有人伤）")
    private Boolean isCasualty;

    @ApiModelProperty(value = "是否有人伤（0：无人伤，1：有人伤）")
    private String isCasualtyStr;

    @ApiModelProperty(value = "事故类型（1:单方事故，2：双方事故，3：多方事故，4：停放受损，5：车辆盗抢，6：车辆自燃，7：车辆涉水，8：重大自然灾害）")
    private Integer accidentType;

    @ApiModelProperty(value = "事故类型（1:单方事故，2：双方事故，3：多方事故，4：停放受损，5：车辆盗抢，6：车辆自燃，7：车辆涉水，8：重大自然灾害）")
    private String accidentTypeStr;

    @ApiModelProperty(value = "责任类型（0：无责，1：全责，2：主责，3：同责，4：次责）")
    private Integer liabilityType;

    @ApiModelProperty(value = "责任类型（0：无责，1：全责，2：主责，3：同责，4：次责）")
    private String liabilityTypeStr;

    @ApiModelProperty(value = "出险时间")
    private LocalDateTime accidentTime;

    @ApiModelProperty(value = "交强险报案号")
    private String compulsoryCode;

    @ApiModelProperty(value = "商业险报案号")
    private String commercialCode;

    @ApiModelProperty(value = "事故说明")
    private String explain;

    @ApiModelProperty(value = "审核用户账号")
    private String accountAccount;

    @ApiModelProperty(value = "事故时间")
    private LocalDateTime reportTime;

    @ApiModelProperty(value = "事故备注")
    private String remark;

    @ApiModelProperty(value = "事故状态（1：事故未确认，2：事故已确认，3：结案未确认，4：已结案，5：无效报备）")
    private Integer status;

    @ApiModelProperty(value = "事故状态（1：事故未确认，2：事故已确认，3：结案未确认，4：已结案，5：无效报备）")
    private String statusStr;

    @ApiModelProperty(value = "乐观锁标识")
    private Integer version;

    @ApiModelProperty(value = "结案时间")
    private LocalDateTime settleTime;

    @ApiModelProperty(value = "确认结案时间")
    private LocalDateTime commitSettleTime;

    @ApiModelProperty(value = "车型图片")
    private String vehicleImg;

    @ApiModelProperty(value = "车型ID")
    private Integer vehicleId;

}
